package online.hxstar.cloud.provider.stream.bind;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;

/**
 * @author xinghu
 * @version 1.0
 * @date 2019/11/12 11:25 上午
 */
public interface HelloBinding {

	String GREETINGS_OUTPUT = "greetings_output";

	/**
	 * 发送问候信息
	 *
	 * @return ""
	 */
	@Output(GREETINGS_OUTPUT)
	MessageChannel greetingOutPut();
}
